import request from '@/utils/request'

export function page(params) {
  return request({
    url: '/packageConfig/page',
    method: 'get',
    params
  })
}
export function listPackage() {
  return request({
    url: '/packageConfig/list',
    method: 'get'
  })
}

export function saveOrUpdate(data) {
  return request({
    url: '/packageConfig/saveOrUpdate',
    method: 'post',
    data
  })
}

export function remove(id) {
  return request({
    url: '/packageConfig/remove',
    method: 'get',
    params: { id }
  })
}

